package com.micromall.common.payment.dto.query.byorderno.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;

/**
 * Created by DanteFung on 2017/7/4.
 */
@JsonRootName("head")
public class Head {

    @JsonProperty("RspCode")
    private String RspCode;

    @JsonProperty("RspMsg")
    private String RspMsg;

    @JsonProperty("ReqDate")
    private String ReqDate;

    @JsonProperty("RspDate")
    private String RspDate;

    @JsonProperty("Signature")
    private String Signature;

    public String getRspCode() {
        return RspCode;
    }

    public void setRspCode(String rspCode) {
        RspCode = rspCode;
    }

    public String getRspMsg() {
        return RspMsg;
    }

    public void setRspMsg(String rspMsg) {
        RspMsg = "<![CDATA[" + rspMsg + "]]>";
    }

    public String getReqDate() {
        return ReqDate;
    }

    public void setReqDate(String reqDate) {
        ReqDate = reqDate;
    }

    public String getRspDate() {
        return RspDate;
    }

    public void setRspDate(String rspDate) {
        RspDate = rspDate;
    }

    public String getSignature() {
        return Signature;
    }

    public void setSignature(String signature) {
        Signature = signature;
    }

    @Override
    public String toString() {
        return "Head{" +
                "RspCode='" + RspCode + '\'' +
                ", RspMsg='" + RspMsg + '\'' +
                ", ReqDate='" + ReqDate + '\'' +
                ", RspDate='" + RspDate + '\'' +
                ", Signature='" + Signature + '\'' +
                '}';
    }
}
